-- GENERATED SPELL FOR [Frostfin] --


function spell0_24500(pUnit, Event) --@Powerful Bite,n/a--
pUnit:FullCastSpellOnTarget(48287,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24500', 5330, 1)
end

function Sorts_24500(pUnit, Event)
local choix_sorts_24500 = math.random(0, 0)
if choix_sorts_24500 == 0 then
pUnit:RegisterEvent('spell0_24500', 1, 1)
end
end

function mob24500_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24500', math.random(1500, 3000), 1)
end

function mob24500_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24500_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24500_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24500, 1, 'mob24500_Action')
RegisterUnitEvent(24500, 2, 'mob24500_Leave')
RegisterUnitEvent(24500, 3, 'mob24500_Kill')
RegisterUnitEvent(24500, 4, 'mob24500_Die')
